package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName RunningStrategyRes.java
 * @Description TODO
 * @createTime 2023年12月13日
 */
@Data
@ApiModel(value = "RunningStrategyRes对象", description = "策略")
public class RunningStrategyRes {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    @ApiModelProperty(value = "策略对象：0所有客户 1按照行业选择 2按照客户选择")
    private Integer strategyObj;

    @ApiModelProperty(value = "行业或者客户数据：；号隔开")
    private String strategyObjValues;

    @ApiModelProperty(value = "策略设备：0所有设备")
    private Integer strategyEquipment;

    @ApiModelProperty(value = "规则类型：0设备故障 1设备离线 3设备运行报告 4服务到期提醒")
    private String strategyType;

    @ApiModelProperty(value = "报警方式：1 短信推送 2 微信模版消息 3机器人外呼")
    private String adviceType;

    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer isDisabled;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updatedAt;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createdAt;
}